package yadong.example.code.jaxb;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;

public class Category {
	private String id;
	private String displayName;
	private String name;
	private String order;
	public Category() {
		
	}
	public Category(String val) {
		this.id=val;
		this.displayName=val;
		this.name=val;
		this.order=val;
	}
	public Category(String id,String displayName,String name,String order) {
		this.id=id;
		this.displayName=displayName;
		this.name=name;
		this.order=order;
	}
	@XmlAttribute
	public String getId() {
		return id;
	}
	@XmlValue
	public String getDisplayName() {
		return displayName;
	}
	@XmlAttribute
	public String getName() {
		return name;
	}
	@XmlAttribute
	public String getOrder() {
		return order;
	}
	public void setId(String id) {
		this.id = id;
	}
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setOrder(String order) {
		this.order = order;
	}
	
}
